#include <iostream>
#include <vector>

using namespace std;

int main()
{
	int total = 10;
	int num = 5;

	vector<int> vec;

	int n = num - 1;
	int  temp = total * 100;
	int m = temp;
	int sum = 0;

	for (int i = 0; i < n; i++)
	{
		m = m - n - i;

		int k = rand()%m;

		vec.push_back(k);

		m = m - k;

		sum += k;
	}

	vec.push_back(temp - sum);


	for (auto i : vec) {
		cout << (double)i / 100 << endl;
	}


	return 0;
}